package com.goldsign.pay.provider.msg.rabbit.consumer;

import java.util.Date;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;


@Component
@RabbitListener(queues = "default-queue-dev")
public class RbtConsumer0 {
	
	/**支持对象发送和接收*/
	@RabbitHandler
	public void process(String content){
		System.out.printf("<== Receiver msg : %s By %s, %s%n",content,this.getClass().getSimpleName(), new Date().getTime());
	}
}
